happen by chance

Translations
случаться случайно
The discovery happened by chance during a routine check.
Открытие произошло случайно во время рутинной проверки.
Definitions
To occur unexpectedly or without deliberate intention; to take place randomly or coincidentally.